//看这个都是罪过，不能动
import { StrictMode } from 'react'
import { createRoot } from 'react-dom/client'
import App from './App.jsx'
import './index.css'
import "./ref/index.js"
import {BrowserRouter} from 'react-router-dom'
import {Provider} from 'react-redux'
import {store,persistor} from './store/index'
import {PersistGate} from 'redux-persist/integration/react'
createRoot(document.getElementById('root')).render(
  <StrictMode>
    <Provider store={store}>
      <PersistGate loading={null} persistor={persistor}>
        <BrowserRouter>
          <App />
        </BrowserRouter>
      </PersistGate>
    </Provider>
  </StrictMode>,
)
